-
Notifications
You must be signed in to change notification settings - Fork 705
Add support for metadata.code.branch_hint section #4460
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
(rebased on main) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there any possibility that the interpreter can also benefit from this feature?
Alright, the changes from the review are now committed. Thank you very much for taking the time and effort to give such a good review :) Concerning your question about branch hints and the interpreter: |
Since we're currently in the progress of upstreaming the generation of the code metadata branch hint section in llvm (PR), I also implemented support for this feature in wamr.
One important consideration for the implementation was to keep the encoding of hints generic, so that more compilation hints could be added in the future.